<template>
	<view class="my-container">
		<my-login v-if="!token"></my-login>
		<my-userinfo v-else></my-userinfo>
	</view>
</template>

<script>
	import { mapState } from 'vuex'
	import tabbarBadge from '../../mixins/tabbar-badge';
	export default {
		mixins: [tabbarBadge],
		computed: {
			...mapState('m_user',['token'])
		},
		data() {
			return {
				
			};
		},
		methods: {
			
		},
		
	}
</script>

<style lang="scss">
	page,
	.my-container {
		height: 100%;
	}
</style>
